package com.nmsl.nurse.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 病床管理对象 bed_info
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
@Data
public class MBedInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 床位id */
    private Long bedId;

    /** 床位号 */
    @Excel(name = "床位号")
    private String bedNumber;

    /** 床位状态（0 1） */
    @Excel(name = "床位状态", readConverterExp = "0=,1=")
    private Integer bedStatus;

    /** 病房id */
    @Excel(name = "病房id")
    private Long wardId;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String ext1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String ext2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String ext3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String ext4;

    private MWardInfo MWardInfo;


    public void setBedId(Long bedId) 
    {
        this.bedId = bedId;
    }

    public Long getBedId() 
    {
        return bedId;
    }
    public void setBedNumber(String bedNumber) 
    {
        this.bedNumber = bedNumber;
    }

    public String getBedNumber() 
    {
        return bedNumber;
    }
    public void setBedStatus(Integer bedStatus) 
    {
        this.bedStatus = bedStatus;
    }

    public Integer getBedStatus() 
    {
        return bedStatus;
    }
    public void setWardId(Long wardId) 
    {
        this.wardId = wardId;
    }

    public Long getWardId() 
    {
        return wardId;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bedId", getBedId())
            .append("bedNumber", getBedNumber())
            .append("bedStatus", getBedStatus())
            .append("wardId", getWardId())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .toString();
    }
}
